const people = {
   { name: 'Alice', age: 21 },
  { name: 'Max', age: 20 },
  { name: 'Jane', age: 20 }
}

function groupBy(objectArray, property){
  return objectArray.reduce((acc,obj)=> {
    
  },{})
}